//package com.zg.system.auth.service.impl;
//
//
//import cn.hutool.core.util.StrUtil;
//import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
//import com.zg.common.core.dao.IDao;
//import com.zg.common.core.dao.auth.AuthRole;
//import com.zg.common.core.dao.message.entity.MsgInfo;
//import com.zg.common.core.service.PageBaseService;
//import com.zg.system.auth.service.AuthRoleService;
//import com.zg.system.auth.vo.AuthRoleVo;
//import com.zg.system.req.AuthRolePageReq;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.beans.factory.annotation.Qualifier;
//import org.springframework.stereotype.Service;
//
///**
// * <p>Description: </p>
// *
// * @author zhanfeng.liang
// * @since 2025/5/22 10:47
// */
//
//@Slf4j
//@Service
//public class AuthRoleServiceImpl extends PageBaseService<AuthRole, AuthRoleVo, AuthRolePageReq> implements AuthRoleService {
//
//    @Autowired
//    @Qualifier("authRoleDao")
//    @Override
//    protected void setDao(IDao<AuthRole> dao) {
//        this.dao = dao;
//    }
//
//    public  LambdaQueryWrapper<AuthRole> buildQueryWrapper(AuthRole pageReq){
//        LambdaQueryWrapper<AuthRole> qw = new LambdaQueryWrapper<>();
//        qw.like(!StrUtil.isEmpty(pageReq.getName()), AuthRole::getName, pageReq.getName());
//        return qw;
//
//    }
//}
